Unmounting Volumes
After saving the desk scrap, theShutDwnPower
procedure reads the Shutdown Manager's queue and executes any shutdown procedures that specify thesdOnUnmount
constant. Next,ShutDwnPower
searches the volume control block queue for mounted volumes. It unmounts each one by calling the File Manager functionsEject
andUnmountVol
. TheShutDwnPower
procedure then reads the Shutdown Manager's queue and executes any shutdown procedures that specify thesdOnRestart
constant, thesdOnPowerOff
constant, or both.